package com.example.demo01.service;

import com.example.demo01.eneity.YzfCompetition;
import com.example.demo01.eneity.YzfUser;

import java.util.List;

//获取比赛列表
public interface YzfCompetitionService {
    List<YzfCompetition> getCompetitions();

    //获取比赛列表，并包含比赛类别
    List<YzfCompetition> getAllCompetitionsWithCategories();

    //获取比赛id对应的用户列表
    List<YzfUser> getCompetitionJudges(int competitionId);


}